﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="J_HeaderMenu.ascx.cs"
    Inherits="Pub_Module_J_HeaderMenu" %>

<script src="<%= ResolveClientUrl("~/")%>Pub/Js/JQ/jquery.bgpos.js" type="text/javascript"></script>

<script language="javascript" type="text/javascript">
 var Url='<%= ResolveClientUrl("~/")%>';
/*$(window).load(function() {    
                     $(".HeaderMenuM").corner();                   
                      fnGetAjaxHeaderMenu();                      
                   
  });            
 
    function fnGetAjaxHeaderMenu()
    {
          $.ajax({  
                               type: "GET", 
                               url:  Url+"Pub/Ajax/AjaxQuery.aspx?type=GetHeaderMenu", 
                               success: function(resp)
                               { 
                                      $("#divData").html(resp);                         
                               } 
                        });        
    }  */
    


        
        $(".HeaderMenuM tr td").live("mouseover mouseout",
        	  function(event) {        	     
        	      if (event.type == "mouseover")
        	      { 
        	        $(this).stop().animate({backgroundPosition:"(-20px 94px)"}, {duration:500})
        	      }
        	      else
        	      {
        	          $(this).stop().animate({backgroundPosition:"(40px 35px)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "-20px 35px"})
			}})
        	      }
         });
         
</script>

<table border='0' cellpadding='0' cellspacing='0' width='100%' class='HeaderMenuM'>
    <tr>
        <td>
            <a href='<%= ResolveUrl("~/")%>Common/News/ViewAllNews.aspx?KindNo=I'>GIỚI THIỆU HD</a>
        </td>
         <td>
            <a href='<%= ResolveUrl("~/")%>Common/News/ViewAllNews.aspx?KindNo=N&ViewAll=Y'>TIN TỨC</a>
        </td>
         <td>
            <a href='<%= ResolveUrl("~/")%>Common/SaleOf/SaleOf.aspx'>KHUYẾN MÃI</a>
        </td>
         <td>
            <a href='<%= ResolveUrl("~/")%>Common/Download/Download.aspx'>DOWNLOAD</a>
        </td>
         <td>
            <a href='<%= ResolveUrl("~/")%>Common/Contact/Contact.aspx?KindNo=C'>LIÊN HỆ</a>
        </td>
         <td>
            <a href='<%= ResolveUrl("~/")%>Common/Error/FeedBack.aspx'>GÓP Ý</a>
        </td>
    </tr>
</table>
